home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / Bitmap Libraries 2.0 / Examples / Digraph / MakeFile < prev    next >
Makefile  |  1996-02-27  |  2KB  |  72 lines

  1. # File MakeFile Copyright (C) 1996 by John R. Montbriand.  All Rights Reserved.
  2. #
  3. # File MakeFile
  4. #     Copyright (C) 1996 by John Montbriand.  All Rights Reserved.
  5. #     
  6. #     Distribute freely in areas where the laws of copyright apply.
  7. #     
  8. #     Use at your own risk.
  9. #     
  10. #     Do not distribute modified copies.
  11. #     
  12. #     These various BitMap libraries and examples are for free!
  13. #     
  14. #     See the accompanying file BitMap.txt for details.
  15.  
  16.  
  17.  
  18. ### variables defining what compiler commands to use
  19.  
  20. COMP_PPC = MrC
  21.  
  22. COMP_68K = SC
  23.  
  24.  
  25.  
  26. ### normal build commands
  27.  
  28. Digraph ƒƒ Digraph.r  Digraph.rsrc
  29.     Rez -i {RIncludes} Digraph.r -o Digraph
  30.  
  31. Digraph ƒƒ :obj:Digraph.c.68k :obj:BitMap.c.68k Digraph.r Digraph.rsrc
  32.     Link -w -t APPL -c '????' ∂
  33.         -o Digraph ∂
  34.         :obj:Digraph.c.68k ∂
  35.         :obj:BitMap.c.68k ∂
  36.         {CLibraries}StdCLib.o ∂
  37.         {Libraries}Interface.o ∂
  38.         {Libraries}MacRuntime.o
  39.  
  40.  
  41. # data fork
  42.  
  43. Digraph ƒƒ :obj:Digraph.c.ppc :obj:BitMap.c.ppc Digraph.r Digraph.rsrc
  44.     PPCLink -w -o Digraph ∂
  45.         :obj:BitMap.c.ppc ∂
  46.         :obj:Digraph.c.ppc ∂
  47.         {SharedLibraries}InterfaceLib ∂
  48.         {SharedLibraries}StdCLib ∂
  49.         {PPCLibraries}PPCCRuntime.o ∂
  50.         {PPCLibraries}StdCRuntime.o
  51.  
  52.  
  53. ### PowerPC compiler commands
  54.  
  55. :obj:BitMap.c.ppc ƒ BitMap.c BitMap.h
  56.     {COMP_PPC} BitMap.c -o :obj:BitMap.c.ppc
  57.  
  58. :obj:Digraph.c.ppc ƒ Digraph.c BitMap.h
  59.     {COMP_PPC} Digraph.c -o :obj:Digraph.c.ppc
  60.  
  61.  
  62.  
  63. ### 68000 compiler commands
  64.  
  65. :obj:BitMap.c.68k ƒ BitMap.c BitMap.h
  66.     {COMP_68K} BitMap.c -o :obj:BitMap.c.68k
  67.  
  68. :obj:Digraph.c.68k ƒ Digraph.c BitMap.h
  69.     {COMP_68K} Digraph.c -o :obj:Digraph.c.68k
  70.  
  71.